.component-warp {
  width: 375px;
  max-width: 375px;
  background-color: #fff;
  color: #212121;
  position: relative;

  .del-btn {
    position: absolute;
    top: -5px;
    z-index: 9999;
    right: -90px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    width: 78px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: 5px;
    color: #b0b0ba;
  }
}


.wrapper {
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.scrollbar-view {
  flex: 1;
  min-width: 600px;
  overflow-x: hidden;
  position: relative;
}

.component-left {
  padding-left: 8px;
  width: 320px;
  min-width: 320px;
  background: #fff;
  height: 100%;
}

.component-libs {
  display: flex;
  flex-wrap: wrap;

  .component-lib-item {
    margin-top: 2px;
    width: 90px;
    margin-right: 10px;
    height: 100px;
    text-align: center;
    font-size: 12px;
    display: inline-block;
    color: #595961;
    max-height: 110px;

    &:hover {
      background-color: #eee;
      cursor: move;
    }

    i {
      font-size: 35px;
      color: #9797a1;
    }

  }
}

.component-view {
  padding-top: 60px;
  padding-bottom: 60px;

}

.backTop {
  top: 800px;
  right: 100px;
}

.setting, .backTop {
  color: #9797a1;
  position: absolute;
  text-align: center;
  background: #fff;
  line-height: 40px;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  font-weight: 600;
  font-size: 20px;

  &:hover {
    background: #e4e8ef;
    transition: .2s linear;
  }
}

.mobile-content {
  margin: 0 auto;
  min-height: 667px;
  position: relative;
  width: 375px;
  min-width: 375px;
  background-color: #fff;
  box-shadow: 0 0 28px 0 #ccc;

  .drawing-board {
    height: 500px;
  }

  .setting {
    top: 10px;
    left: -80px;
  }

  .draggable-target {
    min-height: 667px;
  }

  .ghost {
    width: 100%;
    min-height: 40px;
    background-color: rgba(145, 224, 248, .3);
    transition: .3s linear;
    display: flex;
    color: #595961;
    align-items: center;
    justify-content: center;

    i {
      margin-right: 10px;
    }
  }

  .mobile-top {

    img {
      width: 100%;
    }
  }
}


.component-right {
  width: 360px;
  min-width: 360px;
  background-color: #fff;
}

.setting-container {
  padding: 20px;

  h3 {
    font-size: 14px;
    font-weight: 600;
    color: #595961;
  }
}


.component-left .el-collapse-item__header.is-active {
  border-bottom: 1px solid #ebeef5;
}

.component-left .el-collapse {
  border-top: none;
}

.component-left .el-collapse-item__header {
  font-size: 12px;
  color: #595961;
  font-weight: 700;
}

.component-left .el-collapse-item__wrap {
  border-bottom: none;
}


.setting-container {
  h3 {
    margin-bottom: 20px;
  }
}
